<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">

	<title>UIImage(TFCore) Category Reference</title>

	<link rel="stylesheet" href="../css/style.css">
	<meta name="viewport" content="initial-scale=1, maximum-scale=1.4">
	<meta name="generator" content="appledoc 2.2.1 (build 1334)">
</head>
<body class="appledoc">
	<header>
		<div class="container" class="hide-in-xcode">
			
			<h1 id="library-title">
				<a href="../index.html">TFFoundation </a>
			</h1>

			<p id="developer-home">
				<a href="../index.html">“Timeface”</a>
			</p>
			
		</div>
	</header>

	<aside>
		<div class="container">
			<nav>
				<ul id="header-buttons" role="toolbar">
					<li><a href="../index.html">Index</a></li>
<li><a href="../hierarchy.html">Hierarchy</a></li>

					<li id="on-this-page" role="navigation">
						<label>
							On This Page

							<div class="chevron">
								<div class="chevy chevron-left"></div>
								<div class="chevy chevron-right"></div>
							</div>

							<select id="jump-to">
	<option value="top">Jump To&#133;</option>
	
	<option value="overview">Overview</option>
	

	
	
	<option value="tasks">Tasks</option>
	
	

	
	

	
	<optgroup label="Class Methods">
		
		<option value="//api/name/tf_imageWithColor:">+ tf_imageWithColor:</option>
		
		<option value="//api/name/tf_imageWithColor:size:">+ tf_imageWithColor:size:</option>
		
	</optgroup>
	

	
	<optgroup label="Instance Methods">
		
		<option value="//api/name/tf_blurImageWithRadius:tintColor:tintMode:saturation:maskImage:">- tf_blurImageWithRadius:tintColor:tintMode:saturation:maskImage:</option>
		
		<option value="//api/name/tf_blurImageWithType:">- tf_blurImageWithType:</option>
		
		<option value="//api/name/tf_fixedOrientationImage">- tf_fixedOrientationImage</option>
		
		<option value="//api/name/tf_imageCropToCircle">- tf_imageCropToCircle</option>
		
		<option value="//api/name/tf_imageCropWithPath:">- tf_imageCropWithPath:</option>
		
		<option value="//api/name/tf_imageCropWithRect:">- tf_imageCropWithRect:</option>
		
		<option value="//api/name/tf_imageRoundCornerWithRadius:">- tf_imageRoundCornerWithRadius:</option>
		
		<option value="//api/name/tf_imageRoundCornerWithRadius:borderWidth:borderColor:">- tf_imageRoundCornerWithRadius:borderWidth:borderColor:</option>
		
		<option value="//api/name/tf_imageRoundCornerWithRadius:corners:borderWidth:borderColor:borderLineJoin:">- tf_imageRoundCornerWithRadius:corners:borderWidth:borderColor:borderLineJoin:</option>
		
	</optgroup>
	
	
</select>
						</label>
					</li>
				</ul>
			</nav>
		</div>
	</aside>

	<article>
		<div id="overview_contents" class="container">
			<div id="content">
				<main role="main">
					<h1 class="title">UIImage(TFCore) Category Reference</h1>

					
					<div class="section section-specification"><table cellspacing="0"><tbody>
						<tr>
	<th>Declared in</th>
	<td>UIImage+TFCore.h<br />UIImage+TFCore.m</td>
</tr>
						</tbody></table></div>
					

                    
					
					<div class="section section-overview">
						<a title="Overview" name="overview"></a>
						<h2 class="subtitle subtitle-overview">Overview</h2>
						<p>UIImage常用类别</p>
					</div>
					
					

					
					
					<div class="section section-tasks">
						<a title="Tasks" name="tasks"></a>
						

						
						

						<div class="task-list">
							<div class="section-method">
	<a name="//api/name/tf_imageWithColor:" title="tf_imageWithColor:"></a>
	<h3 class="method-title"><code><a href="#//api/name/tf_imageWithColor:">+&nbsp;tf_imageWithColor:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>根据颜色返回图片</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>+ (nonnull UIImage *)tf_imageWithColor:(nonnull UIColor *)<em>color</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>color</code></th>
						<td><p>颜色</p></td>
					</tr>
				
				</table>
			</div>
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>UIImage</p>
			</div>
			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>根据颜色返回图片</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">UIImage+TFCore.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/tf_imageWithColor:size:" title="tf_imageWithColor:size:"></a>
	<h3 class="method-title"><code><a href="#//api/name/tf_imageWithColor:size:">+&nbsp;tf_imageWithColor:size:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>根据颜色和大小返回图片</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>+ (nonnull UIImage *)tf_imageWithColor:(nonnull UIColor *)<em>color</em> size:(CGSize)<em>size</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>color</code></th>
						<td><p>颜色</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>size</code></th>
						<td><p>大小</p></td>
					</tr>
				
				</table>
			</div>
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>UIImage</p>
			</div>
			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>根据颜色和大小返回图片</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">UIImage+TFCore.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/tf_imageCropWithRect:" title="tf_imageCropWithRect:"></a>
	<h3 class="method-title"><code><a href="#//api/name/tf_imageCropWithRect:">&ndash;&nbsp;tf_imageCropWithRect:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>根据rect剪切图片</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (nullable UIImage *)tf_imageCropWithRect:(CGRect)<em>rect</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>rect</code></th>
						<td><p>剪切的rect</p></td>
					</tr>
				
				</table>
			</div>
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>UIImage</p>
			</div>
			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>根据rect剪切图片</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">UIImage+TFCore.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/tf_imageCropWithPath:" title="tf_imageCropWithPath:"></a>
	<h3 class="method-title"><code><a href="#//api/name/tf_imageCropWithPath:">&ndash;&nbsp;tf_imageCropWithPath:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>根据路径剪切图片</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (nullable UIImage *)tf_imageCropWithPath:(nullable UIBezierPath *)<em>path</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>path</code></th>
						<td><p>剪切路径</p></td>
					</tr>
				
				</table>
			</div>
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>UIImage</p>
			</div>
			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>根据路径剪切图片</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">UIImage+TFCore.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/tf_imageCropToCircle" title="tf_imageCropToCircle"></a>
	<h3 class="method-title"><code><a href="#//api/name/tf_imageCropToCircle">&ndash;&nbsp;tf_imageCropToCircle</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>获取剪切的圆形图片</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (nullable UIImage *)tf_imageCropToCircle</code></div>

		    
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>UIImage</p>
			</div>
			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>获取剪切的圆形图片</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">UIImage+TFCore.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/tf_imageRoundCornerWithRadius:" title="tf_imageRoundCornerWithRadius:"></a>
	<h3 class="method-title"><code><a href="#//api/name/tf_imageRoundCornerWithRadius:">&ndash;&nbsp;tf_imageRoundCornerWithRadius:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>获取圆角图片</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (nullable UIImage *)tf_imageRoundCornerWithRadius:(CGFloat)<em>radius</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>radius</code></th>
						<td><p>圆角半径</p></td>
					</tr>
				
				</table>
			</div>
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>UIImage</p>
			</div>
			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>获取圆角图片</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">UIImage+TFCore.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/tf_imageRoundCornerWithRadius:borderWidth:borderColor:" title="tf_imageRoundCornerWithRadius:borderWidth:borderColor:"></a>
	<h3 class="method-title"><code><a href="#//api/name/tf_imageRoundCornerWithRadius:borderWidth:borderColor:">&ndash;&nbsp;tf_imageRoundCornerWithRadius:borderWidth:borderColor:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>获取圆角以及带边框的图片</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (nullable UIImage *)tf_imageRoundCornerWithRadius:(CGFloat)<em>radius</em> borderWidth:(CGFloat)<em>borderWidth</em> borderColor:(nullable UIColor *)<em>borderColor</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>radius</code></th>
						<td><p>圆角半径</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>borderWidth</code></th>
						<td><p>边框宽度</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>borderColor</code></th>
						<td><p>边框颜色</p></td>
					</tr>
				
				</table>
			</div>
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>UIImage</p>
			</div>
			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>获取圆角以及带边框的图片</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">UIImage+TFCore.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/tf_imageRoundCornerWithRadius:corners:borderWidth:borderColor:borderLineJoin:" title="tf_imageRoundCornerWithRadius:corners:borderWidth:borderColor:borderLineJoin:"></a>
	<h3 class="method-title"><code><a href="#//api/name/tf_imageRoundCornerWithRadius:corners:borderWidth:borderColor:borderLineJoin:">&ndash;&nbsp;tf_imageRoundCornerWithRadius:corners:borderWidth:borderColor:borderLineJoin:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>获取圆角类型以及带边框的图片</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (nullable UIImage *)tf_imageRoundCornerWithRadius:(CGFloat)<em>radius</em> corners:(UIRectCorner)<em>corners</em> borderWidth:(CGFloat)<em>borderWidth</em> borderColor:(nullable UIColor *)<em>borderColor</em> borderLineJoin:(CGLineJoin)<em>borderLineJoin</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>radius</code></th>
						<td><p>圆角半径</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>corners</code></th>
						<td><p>圆角类型</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>borderWidth</code></th>
						<td><p>边框宽度</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>borderColor</code></th>
						<td><p>边框颜色</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>borderLineJoin</code></th>
						<td><p>连接方式</p></td>
					</tr>
				
				</table>
			</div>
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>UIImage</p>
			</div>
			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>获取圆角类型以及带边框的图片</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">UIImage+TFCore.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/tf_fixedOrientationImage" title="tf_fixedOrientationImage"></a>
	<h3 class="method-title"><code><a href="#//api/name/tf_fixedOrientationImage">&ndash;&nbsp;tf_fixedOrientationImage</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>获取修正图片方向的图片</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (nonnull UIImage *)tf_fixedOrientationImage</code></div>

		    
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>UIImage</p>
			</div>
			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>获取修正图片方向的图片</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">UIImage+TFCore.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/tf_blurImageWithType:" title="tf_blurImageWithType:"></a>
	<h3 class="method-title"><code><a href="#//api/name/tf_blurImageWithType:">&ndash;&nbsp;tf_blurImageWithType:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>获取对应的亮透明的图片</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (nonnull UIImage *)tf_blurImageWithType:(TFImageBlurType)<em>blurType</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>blurType</code></th>
						<td><p>模糊类型</p></td>
					</tr>
				
				</table>
			</div>
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>UIImage</p>
			</div>
			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>获取对应的亮透明的图片</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">UIImage+TFCore.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/tf_blurImageWithRadius:tintColor:tintMode:saturation:maskImage:" title="tf_blurImageWithRadius:tintColor:tintMode:saturation:maskImage:"></a>
	<h3 class="method-title"><code><a href="#//api/name/tf_blurImageWithRadius:tintColor:tintMode:saturation:maskImage:">&ndash;&nbsp;tf_blurImageWithRadius:tintColor:tintMode:saturation:maskImage:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>获取模糊效果的图片</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (nullable UIImage *)tf_blurImageWithRadius:(CGFloat)<em>blurRadius</em> tintColor:(nullable UIColor *)<em>tintColor</em> tintMode:(CGBlendMode)<em>tintBlendMode</em> saturation:(CGFloat)<em>saturation</em> maskImage:(nullable UIImage *)<em>maskImage</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>blurRadius</code></th>
						<td><p>模糊半径</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>tintColor</code></th>
						<td><p>填充颜色</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>tintBlendMode</code></th>
						<td><p>填充类型</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>saturation</code></th>
						<td><p>饱和度</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>maskImage</code></th>
						<td><p>遮罩图片</p></td>
					</tr>
				
				</table>
			</div>
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>UIImage</p>
			</div>
			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>获取模糊效果的图片</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">UIImage+TFCore.h</code></p>
			</div>
			
			
		</div>
	</div>
</div>
						</div>
						
					</div>
					
					

                    
                    
          
				</main>

				<footer>
					<div class="footer-copyright">
						
						<p class="copyright">Copyright &copy; 2017 “Timeface”. All rights reserved. Updated: 2017-08-17</p>
						
						
						<p class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2.1 (build 1334)</a>.</p>
						
					</div>
				</footer>
			</div>
		</div>
	</article>

	<script src="../js/script.js"></script>
</body>
</html>